package palf.menuItems {
import flash.display.DisplayObjectContainer;
import flash.display.Sprite;

internal class MenuDivider implements MenuItem {

	public function MenuDivider() {

	}

	public function draw(canvas : DisplayObjectContainer) : void {
		var sprite : Sprite = new Sprite();
		sprite.graphics.beginFill(0x999999);
		sprite.graphics.drawRect(0, 0, canvas.width * 3 / 4, 2);
		sprite.graphics.endFill();

		canvas.addChild(sprite);
	}

}

}
